<template>
  <div class="home">

  </div>
</template>

<script>
import { fetchCates } from '@a/homeView'
export default {
  name: 'HomeView',
  data () {
    return {
      cates: []
    }
  },
  methods: {
    fetchCates () {
      fetchCates().then(res => {
        console.log(res)
      })
    }
  },
  created () {
    this.fetchCates()
  }
}
</script>
